package cn.xzzz2020.demo.controller;

import cn.xzzz2020.XJynWeb.ioc.core.annotation.Controller;
import cn.xzzz2020.XJynWeb.ioc.inject.annotation.Autowired;
import cn.xzzz2020.XJynWeb.mvc.annotation.RequestMapping;
import cn.xzzz2020.XJynWeb.mvc.type.RequestMethod;
import cn.xzzz2020.demo.service.ShopCategoryService;
import lombok.extern.slf4j.Slf4j;

@Controller
@RequestMapping("/shop_category")
@Slf4j
public class ShopCategoryController {
    @Autowired
    private ShopCategoryService shopCategoryService;

    /**
     * 测试切面的执行顺序
     * 测试路径：/shop_category/test_aspect_sort
     */
    @RequestMapping(value = "/test_aspect_sort",method = RequestMethod.GET)
    public void testAspectSort(){
        log.info("执行了测试方法！！！");
    }
}
